package SQLAPI;

/**
 * An Object that contains all of the data in the associated transaction table
 * in the database. 
 * @author Scott Catsirelis - 000602705
 */
public class TransactionReport {
    
    private String transid,usageid,userid,time,objName,type;

    /**
     * Constructor for a TransactionReport object.
     * @param transid - String - Transaction ID of the transaction.
     * @param usageid - String - Usage ID associated with the transaction. 
     * @param userid - String - Web User ID associated with the transaction. 
     * @param time - String - Time the transaction was logged.
     * @param objName - String - Name of the object that was modified. 
     * @param type - String - Type of change that was made. ADD, MODIFY, REMOVE.
     */
    public TransactionReport(String transid, String usageid, String userid, String time, String objName, String type) {
        this.transid = transid;
        this.usageid = usageid;
        this.userid = userid;
        this.time = time;
        this.objName = objName;
        this.type = type;
    }

    public String getTransid() {
        return transid;
    }

    public void setTransid(String transid) {
        this.transid = transid;
    }

    public String getUsageid() {
        return usageid;
    }

    public void setUsageid(String usageid) {
        this.usageid = usageid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getObjName() {
        return objName;
    }

    public void setObjName(String objName) {
        this.objName = objName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}